package org.example.util;

public class MetricUtils {
  /**
   * @param code Response code
   * @return true if code is between 200 and 399 included
   */
  public static boolean isSuccessCode(int code) {
    return code >= 200 && code <= 399;
  }
}
